package com.essearch.entity;

import com.essearch.common.TableConst;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import java.io.Serializable;
import java.sql.*;
/**
* item_person_base 实体类
* Tue Oct 27 15:28:37 CST 2020 
*/ 

@Getter
@Setter
@ToString
@Document(indexName = TableConst.INDEX_PRE + "item_person_base", type = "item_person_base")
public class Item_person_base implements Serializable {
	@Field(type = FieldType.Keyword)
	private String id;
	@Field(type = FieldType.Text)
	private String personId;
	@Field(type = FieldType.Text)
	private String itemId;
	@Field(type = FieldType.Integer)
	private Integer nNum;
	@Field(type = FieldType.Text)
	private String idCardno;
	@Field(type = FieldType.Text, analyzer = "ik_smart", searchAnalyzer = "ik_smart")
	private String name;
	@Field(type = FieldType.Text)
	private String sex;
	@Field(type = FieldType.Text)
	private String nation;
	@Field(type = FieldType.Text)
	private String creator;
	@Field(type = FieldType.Long)
	private Long createTime;
	@Field(type = FieldType.Text)
	private String operator;
	@Field(type = FieldType.Long)
	private Long operateTime;
	@Field(type = FieldType.Text)
	private String flag;
	@Field(type = FieldType.Text)
	private String country;
	@Field(type = FieldType.Text)
	private String cardType;
	@Field(type = FieldType.Text)
	private String birthday;
	@Field(type = FieldType.Text)
	private String pkId;
	@Field(type = FieldType.Text)
	private String ktxh;
	@Field(type = FieldType.Text)
	private String charger;
}

